package livesun.justiceeternal.db.love;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

import zlc.season.practicalrecyclerview.ItemType;

@Entity
public class LoveBean implements Serializable,ItemType {
     static final long serialVersionUID = 536871008;
    public boolean isChecked;
    @Id(autoincrement = true)
    private Long id;
    /**
     * 插入时间
     */
    @Property(nameInDb = "INSERTTIME")
    long saveTime;
    /**
     *大小
     */
    @Property(nameInDb = "NAME")
    String name;

    /**
     *谱子内容
     */
    @Property(nameInDb = "BODY")
    String body;

    /**
     * 辨别id
     */
    @Property(nameInDb = "ITEMID")
    int itemId;



@Generated(hash = 556610930)
public LoveBean(boolean isChecked, Long id, long saveTime, String name,
        String body, int itemId) {
    this.isChecked = isChecked;
    this.id = id;
    this.saveTime = saveTime;
    this.name = name;
    this.body = body;
    this.itemId = itemId;
}



@Generated(hash = 461774961)
public LoveBean() {
}

   

    @Override
    public int itemType() {
        return 0;
    }



public boolean getIsChecked() {
    return this.isChecked;
}



public void setIsChecked(boolean isChecked) {
    this.isChecked = isChecked;
}



public Long getId() {
    return this.id;
}



public void setId(Long id) {
    this.id = id;
}



public long getSaveTime() {
    return this.saveTime;
}



public void setSaveTime(long saveTime) {
    this.saveTime = saveTime;
}



public String getName() {
    return this.name;
}



public void setName(String name) {
    this.name = name;
}



public String getBody() {
    return this.body;
}



public void setBody(String body) {
    this.body = body;
}



public int getItemId() {
    return this.itemId;
}



public void setItemId(int itemId) {
    this.itemId = itemId;
}
}
